package com.spring.cloud.exception;


import com.spring.cloud.enums.ExceptionEnum;
import lombok.Getter;

/**
 * @author hd
 * @date 2019/3/31
 *
 * 自定义异常类
 */
@Getter
public class GlobalException extends RuntimeException {

    private ExceptionEnum exceptionEnum;

    public GlobalException(ExceptionEnum exceptionEnum) {
        this.exceptionEnum = exceptionEnum;
    }


}
